package com.recycle.filter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
@PropertySource("classpath:excludeUrlPath.properties")
@ConfigurationProperties(prefix = "exclude")
public class ExcludeUrlProperties {

    /**
     * 不需要登录的服务路由地址
     */
    private List<String> urls;

    /**
     * 需要做限流的服务路由地址
     */
    private List<String> ipLimitUrls;

    /**
     * 静态资源文件映射地址
     */
    private List<String> staticFiles;
}
